/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.escom.administracion.dao;

import com.escom.administracionperfiles.hbm.dto.Alumno;
import com.escom.cliente.exception.DAOException;
import java.util.List;

/**
 *
 * @author yamil
 */
public interface AlumnoDAO {
    public void create(Alumno alumno)throws  DAOException ;
    public void edit(Alumno alumno)throws  DAOException ;
    public void remove(Alumno alumno) throws  DAOException ;
    public Alumno find(Object id) throws  DAOException ;
    public List<Alumno> findAll() throws  DAOException ;
    public int count() ;
    public Alumno findAlumnoByBoletaAndPassword(Integer boleta,String password) throws DAOException;
    public boolean findAlumnoByBoletaAndCorreo(Integer boleta,String correo)throws DAOException;

}
